import Layout from '@/layout/index.vue'

export const routerData = [
  {
    name: 'Statistics',
    path: '/statistics',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '数据统计', icon: 'chart', noCache: false, link: null },
    children: [
      {
        name: 'VideoedList',
        path: 'videoed/list',
        hidden: false,
        component: 'statistics/videoed/list',
        meta: { title: '短剧统计', icon: 'chart', noCache: true, link: null }
      },
      {
        name: 'ChanneledList',
        path: 'channeled/list',
        hidden: false,
        component: 'statistics/channeled/list',
        meta: { title: '渠道统计', icon: 'chart', noCache: true, link: null }
      },
      {
        name: 'UseredList',
        path: 'usered/list',
        hidden: false,
        component: 'statistics/usered/list',
        meta: { title: '用户统计', icon: 'chart', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'Video',
    path: '/video',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '短剧管理', icon: 'menu-video', noCache: false, link: null },
    children: [
      {
        name: 'LibraryList',
        path: 'library/list',
        hidden: false,
        component: 'video/library/list',
        meta: { title: '短剧库', icon: 'menu-video', noCache: true, link: null }
      },
      {
        name: 'LibraryAdd',
        path: 'library/add',
        hidden: true,
        component: 'video/library/add',
        meta: { title: '添加短剧库', icon: 'menu-video', noCache: true, link: null }
      },
      {
        name: 'LibraryDetail',
        path: 'library/detail',
        hidden: true,
        component: 'video/library/detail',
        meta: { title: '剧集库', icon: 'menu-video', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'Channel',
    path: '/channel',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '渠道管理', icon: 'menu-channel', noCache: false, link: null },
    children: [
      {
        name: 'ChannelDataList',
        path: 'channelData/list',
        hidden: false,
        component: 'channel/channelData/list',
        meta: { title: '渠道列表', icon: 'menu-channel', noCache: true, link: null }
      },
      {
        name: 'ChannelDataAdd',
        path: 'channelData/add',
        hidden: true,
        component: 'channel/channelData/add',
        meta: { title: '添加渠道', icon: 'menu-channel', noCache: false, link: null }
      },
      {
        name: 'ChannelAppList',
        path: 'channelApp/list',
        hidden: false,
        component: 'channel/channelApp/list',
        meta: { title: 'APP应用渠道', icon: 'menu-channel', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'Config',
    path: '/config',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '运营管理', icon: 'menu-config', noCache: false, link: null },
    children: [
      {
        name: 'MaterialList',
        path: 'material/list',
        hidden: false,
        component: 'config/material/list',
        meta: { title: '素材库', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'MaterialMansenList',
        path: 'materialMansen/list',
        hidden: false,
        component: 'config/materialMansen/list',
        meta: { title: '素材库-漫森', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'ClassifyList',
        path: 'classify/list',
        hidden: false,
        component: 'config/classify/list',
        meta: { title: '短剧分类配置', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'template ',
        path: 'template/list',
        hidden: false,
        component: 'config/template/list',
        meta: { title: '充值套餐配置', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'ChannelPostBackList',
        path: 'channelPostBack/list',
        hidden: false,
        component: 'config/channelPostBack/list',
        meta: { title: '渠道回传配置', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'ChannelPostBackAdd ',
        path: 'channelPostBack/add',
        hidden: true,
        component: 'config/channelPostBack/add',
        meta: { title: '添加渠道回传配置', icon: 'menu-config', noCache: false, link: null }
      }
    ]
  },
  {
    name: 'MiniProgram',
    path: '/miniProgram',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '应用管理', icon: 'menu-mini-program', noCache: false, link: null },
    children: [
      {
        name: 'BannerList',
        path: 'banner/list',
        hidden: false,
        component: 'miniProgram/banner/list',
        meta: { title: '首页轮播图', icon: 'menu-config', noCache: true, link: null }
      },
      {
        name: 'MpList',
        path: 'mp/list',
        hidden: false,
        component: 'miniProgram/mp/list',
        meta: { title: '小程序列表', icon: 'menu-mini-program', noCache: true, link: null }
      },
      {
        name: 'MpAdd',
        path: 'mp/add',
        hidden: true,
        component: 'miniProgram/mp/add',
        meta: { title: '添加小程序', icon: 'menu-mini-program', noCache: true, link: null }
      },
      {
        name: 'AppList',
        path: 'app/list',
        hidden: false,
        component: 'miniProgram/app/list',
        meta: { title: '应用列表', icon: 'menu-mini-program', noCache: true, link: null }
      },
      {
        name: 'AppAdd',
        path: 'app/add',
        hidden: true,
        component: 'miniProgram/app/add',
        meta: { title: '添加应用', icon: 'menu-mini-program', noCache: true, link: null }
      },
      {
        name: 'RenewList',
        path: 'renew/list',
        hidden: false,
        component: 'miniProgram/renew/list',
        meta: { title: '应用更新', icon: 'menu-mini-program', noCache: true, link: null }
      },
      {
        name: 'CopyrightList',
        path: 'copyright/list',
        hidden: false,
        component: 'miniProgram/copyright/list',
        meta: { title: '短剧版权配置', icon: 'menu-mini-program', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'User',
    path: '/user',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '用户管理', icon: 'menu-user', noCache: false, link: null },
    children: [
      {
        name: 'UserDataList',
        path: 'userData/list',
        hidden: false,
        component: 'user/userData/list',
        meta: { title: '用户列表', icon: 'menu-user', noCache: true, link: null }
      },
      {
        name: 'CooperateList',
        path: 'cooperate/list',
        hidden: false,
        component: 'user/cooperate/list',
        meta: { title: '商务合作', icon: 'menu-user', noCache: true, link: null }
      },
      {
        name: 'FeedbackList',
        path: 'feedback/list',
        hidden: false,
        component: 'user/feedback/list',
        meta: { title: '用户反馈', icon: 'menu-user', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'Order',
    path: '/order',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '订单管理', icon: 'menu-order', noCache: false, link: null },
    children: [
      {
        name: 'OrderDataCoinList',
        path: 'orderDataCoin/list',
        hidden: false,
        component: 'order/orderDataCoin/list',
        meta: { title: '金币订单', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'OrderDataVipList',
        path: 'orderDataVip/list',
        hidden: false,
        component: 'order/orderDataVip/list',
        meta: { title: '会员订单', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'OrderDataCoinCopyRightList',
        path: 'orderDataCoinCopyRight/list',
        hidden: false,
        component: 'order/orderDataCoinCopyRight/list',
        meta: { title: '金币订单-版权', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'OrderDataVipCopyRightList',
        path: 'orderDataVipCopyRight/list',
        hidden: false,
        component: 'order/orderDataVipCopyRight/list',
        meta: { title: '会员订单-版权', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'SupplementCoinList',
        path: 'supplementCoin/list',
        hidden: false,
        component: 'order/supplementCoin/list',
        meta: { title: '用户补金币', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'SupplementVipList',
        path: 'supplementVip/list',
        hidden: false,
        component: 'order/supplementVip/list',
        meta: { title: '用户补会员', icon: 'menu-order', noCache: true, link: null }
      },
      {
        name: 'OrderRefundList',
        path: 'orderRefund/list',
        hidden: false,
        component: 'order/orderRefund/list',
        meta: { title: '退款列表', icon: 'menu-order', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'system',
    path: '/system',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '系统管理', icon: 'menu-system', noCache: false, link: null },
    children: [
      {
        name: 'AccountList',
        path: 'account/list',
        hidden: false,
        component: 'system/account/list',
        meta: { title: '账号列表', icon: 'menu-system', noCache: true, link: null }
      },
      {
        name: 'LogList',
        path: 'log/list',
        hidden: false,
        component: 'system/log/list',
        meta: { title: '登录日志', icon: 'menu-system', noCache: true, link: null }
      },
      {
        name: 'Menu',
        path: 'menu/index',
        hidden: false,
        component: 'system/menu/index',
        meta: { title: '权限管理', icon: 'menu-system', noCache: true, link: null }
      },
      {
        name: 'Role',
        path: 'role/index',
        hidden: false,
        component: 'system/role/index',
        meta: { title: '角色管理', icon: 'menu-system', noCache: true, link: null }
      }
    ]
  },
  {
    name: 'distribute',
    path: '/distribute',
    hidden: false,
    redirect: 'noRedirect',
    component: Layout,
    alwaysShow: true,
    meta: { title: '分销商管理', icon: 'menu-system', noCache: false, link: null },
    children: [
      {
        name: 'LevelList',
        path: 'level/list',
        component: () => import('@/views/distribute/level/list.vue'),
        meta: { title: '分销商等级', icon: 'user' }
      },
      {
        name: 'DistAccountList',
        path: 'distAccount/list',
        component: () => import('@/views/distribute/distAccount/list.vue'),
        meta: { title: '分销商账号', icon: 'user' }
      },
      {
        name: 'SeedAccountList',
        path: 'seedAccount/list',
        component: () => import('@/views/distribute/seedAccount/list.vue'),
        meta: { title: '投手账号', icon: 'user' }
      },
      {
        name: 'SettlementList',
        path: 'settlement/list',
        component: () => import('@/views/distribute/settlement/list.vue'),
        meta: { title: '结算单', icon: 'user' }
      }
    ]
  }
  /* {
    name: 'Monitor',
    path: '/monitor',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '系统监控', icon: 'monitor', noCache: false, link: null },
    children: [
      {
        name: 'Online',
        path: 'online',
        hidden: false,
        component: 'monitor/online/index',
        meta: {
          title: '在线用户',
          icon: 'online',
          noCache: false,
          link: null
        }
      },
      {
        name: 'Job',
        path: 'job',
        hidden: false,
        component: 'monitor/job/index',
        meta: { title: '定时任务', icon: 'job', noCache: false, link: null }
      },
      {
        name: 'Druid',
        path: 'druid',
        hidden: false,
        component: 'monitor/druid/index',
        meta: {
          title: '数据监控',
          icon: 'druid',
          noCache: false,
          link: null
        }
      },
      {
        name: 'Server',
        path: 'server',
        hidden: false,
        component: 'monitor/server/index',
        meta: {
          title: '服务监控',
          icon: 'server',
          noCache: false,
          link: null
        }
      },
      {
        name: 'Cache',
        path: 'cache',
        hidden: false,
        component: 'monitor/cache/index',
        meta: {
          title: '缓存监控',
          icon: 'redis',
          noCache: false,
          link: null
        }
      },
      {
        name: 'CacheList',
        path: 'cacheList',
        hidden: false,
        component: 'monitor/cache/list',
        meta: {
          title: '缓存列表',
          icon: 'redis-list',
          noCache: false,
          link: null
        }
      }
    ]
  },*/
  /* {
    name: 'Tool',
    path: '/tool',
    hidden: false,
    redirect: 'noRedirect',
    component: 'Layout',
    alwaysShow: true,
    meta: { title: '系统工具', icon: 'tool', noCache: false, link: null },
    children: [
      {
        name: 'Build',
        path: 'build',
        hidden: false,
        component: 'tool/build/index',
        meta: {
          title: '表单构建',
          icon: 'build',
          noCache: false,
          link: null
        }
      },
      {
        name: 'Gen',
        path: 'gen',
        hidden: false,
        component: 'tool/gen/index',
        meta: { title: '代码生成', icon: 'code', noCache: false, link: null }
      },
      {
        name: 'Swagger',
        path: 'swagger',
        hidden: false,
        component: 'tool/swagger/index',
        meta: {
          title: '系统接口',
          icon: 'swagger',
          noCache: false,
          link: null
        }
      }
    ]
  },*/
  /* {
    name: 'Http://ruoyi.vip',
    path: 'http://ruoyi.vip',
    hidden: false,
    component: 'Layout',
    meta: {
      title: '若依官网',
      icon: 'guide',
      noCache: false,
      link: 'http://ruoyi.vip'
    }
  }*/
]
